package com.vizhuo.client.business.match.goods.vo;

import java.io.Serializable;

import com.vizhuo.client.base.AbstractVo;

/**
 * 
 * @ClassName: DriverVo
 * @Description: 发货记录-待评价/待历史
 * @author TANDP
 * @date 2015-7-9 下午1:56:12
 * 
 */
public class DriverInfoVo extends AbstractVo implements Serializable {

    /**
     * 发货人id
     */
    private Integer goodsAccountId;

    /**
     * 发货人账号类型,1006 司机("1"), 信息部("3")
     */
    private String accountType;

    /**
     * 发货人姓名
     */
    private String releaseName;

    /**
     * 货源id/要车信息id
     */
    private Long goodsId;

    /**
     * 货源编号/订单编号
     */
    private String goodsNo;

    /**
     * 承运人账号id
     */
    private int carrierAccountId;

    /**
     * 承运人账号类型,1006 司机("1"), 信息部("3")
     */
    private String carrierAccountType;

    /**
     * 经验值-后台使用
     */
    private int accountExp;

    /**
     * 等级-共用
     */
    private String level;

    /**
     * 成功次数-共用
     */
    private int successCount;

    /**
     * 被投诉次数-共用
     */
    private int blackCount;

    /**
     * 发布日期
     */
    private String releaseDate;

    /**
     * 用车时间
     */
    private String needCarTime;

    private String startCity;

    /**
     * 
     */
    private String startCounty;

    /**
     * 运输开始位置(省 市 区)拼接的中文
     */
    private String startAreaAddress;

    private String endCity;

    /**
     * 结束地址组装(地市-区县)
     */
    private String endCounty;

    /**
     * 运输结束位置(省 市 区)拼接的中文
     */
    private String endAreaAddress;

    /**
     * 货物种类CODE,eg:1
     */
    private String goodsSpecies;

    /**
     * 货物重量,eg:蔬菜
     */
    private String goodsSpeciesName;

    /**
     * 货物类型CODE,eg:1
     */
    private String goodsType;

    /**
     * 货物重量,eg:5.5
     */
    private double goodsLoad;

    /**
     * 货物提交,eg:12
     */
    private double goodsSize;

    /**
     * 件数
     */
    private Integer goodsPiece;

    private String needCarType;

    /**
     * 车型名称,平板车
     */
    private String carTypeName;

    /**
     * 车长,1.8
     */
    private String needCarLength;

    /**
     * 是否收藏,1:已收藏,0:未收藏-共用
     */
    private String isCollect;

    /**
     * 收货人姓名
     */
    private String receiptName;

    /**
     * 收货人电话
     */
    private String receiptPhone;

    /**
     * 状态-文本
     */
    private String stateName;

    /**
     * 货源状态 待到货确认 6 待评价 3
     */
    private String state;

    // /////////////////////////////////以下是司机对象属性bigen//////////////////////////////

    /**
     * 司机姓名
     */
    private String driverName;

    /**
     * 联系电话
     */
    private String driverPhone;

    /**
     * 车牌号
     */
    private String driverCarNo;

    /**
     * 身份证认证,1:通过,0:不通过
     */
    private String driverIdcarCheck;

    /**
     * 好评率
     */
    private String driverHighPraiseRate;

    /**
     * 头像照片路径
     */
    private String driverHeadPicPath;

    /**
     * 头像照片名称
     */
    private String driverHeadPicName;

    /**
     * 车辆照片路径
     */
    private String carPicPath;

    /**
     * 车辆照片名称
     */
    private String carPicName;

    /**
     * 驾照图片路径
     */
    private String driverPicPath;

    /**
     * 驾照图片名称
     */
    private String driverPicName;

    /**
     * 行驶本图片路径
     */
    private String runPicPath;

    /**
     * 行驶本图片名称
     */
    private String runPicName;

    /**
     * 运输资格证路径
     */
    private String transportPicPath;

    /**
     * 运输资格证名称
     */
    private String transportPicName;

    // /////////////////////////////////以下是司机对象属性end//////////////////////////////

    // /////////////////////////////////以下是信息部对象属性bigen//////////////////////////////
    /**
     * 身份类型(0：线路经理，1：其他)
     */
    private String identityType;

    /**
     * 信息部-联系人姓名
     */
    private String infoNameReal;

    /**
     * 信息部公司名称
     */
    private String infoName;

    /**
     * 信息部电话
     */
    private String infoPhone;

    /**
     * 信息部-身份证认证状态
     */
    private String infoIdCheckFlag;

    /**
     * 信息部-企业认证
     */
    private String infoCheckFlag;

    /**
     * 信息部-好评率
     */
    private String infoHighPraiseRate;

    /**
     * 信息部-头像照片路径
     */
    private String infoHeadPicPath;

    /**
     * 信息部-头像照片名称
     */
    private String infoHeadPicName;

    /**
     * 信息部-营业执照路径
     */
    private String infoLicensePicPath;

    /**
     * 信息部-营业执照名称
     */
    private String infoLicensePicName;

    /**
     * 信息部-门头照片路径
     */
    private String shopPicPath;

    /**
     * 信息部-门头照片名称
     */
    private String shopPicName;

    /**
     * 收货人是否确定收货
     */
    private String isShouhuoConfirm;// 0是未确认，1是已确认收货

    // 货运单号
    private String checkNumber;

    // 货运单照片路径（上传上传图片后由前端接口返回）
    private String shipperPhotoPath;

    // 货运单照片名称(上传图片后由前端接口返回)
    private String shipperPhotoName;

    // /////////////////////////////////以下是信息部对象属性end//////////////////////////////

    public String getIsShouhuoConfirm() {
        return isShouhuoConfirm;
    }

    public String getCheckNumber() {
        return checkNumber;
    }

    public void setCheckNumber(String checkNumber) {
        this.checkNumber = checkNumber;
    }

    public String getShipperPhotoPath() {
        return shipperPhotoPath;
    }

    public void setShipperPhotoPath(String shipperPhotoPath) {
        this.shipperPhotoPath = shipperPhotoPath;
    }

    public String getShipperPhotoName() {
        return shipperPhotoName;
    }

    public void setShipperPhotoName(String shipperPhotoName) {
        this.shipperPhotoName = shipperPhotoName;
    }

    public void setIsShouhuoConfirm(String isShouhuoConfirm) {
        this.isShouhuoConfirm = isShouhuoConfirm;
    }

    /**
     * 司机姓名
     * 
     * @return
     */
    public String getDriverName() {
        return driverName;
    }

    /**
     * 司机姓名
     * 
     * @param driverName
     */
    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    /**
     * 货源id/要车信息id
     * 
     * @return
     */
    public Long getGoodsId() {
        return goodsId;
    }

    /**
     * 货源id/要车信息id
     * 
     * @param goodsId
     */
    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    /**
     * 发货人id
     * 
     * @return
     */
    public Integer getGoodsAccountId() {
        return goodsAccountId;
    }

    /**
     * 发货人id
     * 
     * @param goodsAccountId
     */
    public void setGoodsAccountId(Integer goodsAccountId) {
        this.goodsAccountId = goodsAccountId;
    }

    public String getGoodsNo() {
        return goodsNo;
    }

    public void setGoodsNo(String goodsNo) {
        this.goodsNo = goodsNo;
    }

    public int getAccountExp() {
        return accountExp;
    }

    public void setAccountExp(int accountExp) {
        this.accountExp = accountExp;
    }

    /**
     * 账号类型,1006 司机("1"), 信息部("3")
     * 
     * @return
     */
    public String getAccountType() {
        return accountType;
    }

    /**
     * 账号类型,1006 司机("1"), 信息部("3")
     * 
     * @param accountType
     */
    public void setAccountType(String accountType) {
        this.accountType = accountType;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public int getSuccessCount() {
        return successCount;
    }

    public void setSuccessCount(int successCount) {
        this.successCount = successCount;
    }

    public String getDriverPhone() {
        return driverPhone;
    }

    public void setDriverPhone(String driverPhone) {
        this.driverPhone = driverPhone;
    }

    public String getDriverCarNo() {
        return driverCarNo;
    }

    public void setDriverCarNo(String driverCarNo) {
        this.driverCarNo = driverCarNo;
    }

    public String getDriverIdcarCheck() {
        return driverIdcarCheck;
    }

    public void setDriverIdcarCheck(String driverIdcarCheck) {
        this.driverIdcarCheck = driverIdcarCheck;
    }

    public String getDriverHighPraiseRate() {
        return driverHighPraiseRate;
    }

    public void setDriverHighPraiseRate(String driverHighPraiseRate) {
        this.driverHighPraiseRate = driverHighPraiseRate;
    }

    public String getDriverHeadPicPath() {
        return driverHeadPicPath;
    }

    public void setDriverHeadPicPath(String driverHeadPicPath) {
        this.driverHeadPicPath = driverHeadPicPath;
    }

    public String getDriverHeadPicName() {
        return driverHeadPicName;
    }

    public void setDriverHeadPicName(String driverHeadPicName) {
        this.driverHeadPicName = driverHeadPicName;
    }

    public String getCarPicPath() {
        return carPicPath;
    }

    public void setCarPicPath(String carPicPath) {
        this.carPicPath = carPicPath;
    }

    public String getCarPicName() {
        return carPicName;
    }

    public void setCarPicName(String carPicName) {
        this.carPicName = carPicName;
    }

    public String getDriverPicPath() {
        return driverPicPath;
    }

    public void setDriverPicPath(String driverPicPath) {
        this.driverPicPath = driverPicPath;
    }

    public String getDriverPicName() {
        return driverPicName;
    }

    public void setDriverPicName(String driverPicName) {
        this.driverPicName = driverPicName;
    }

    public String getRunPicPath() {
        return runPicPath;
    }

    public void setRunPicPath(String runPicPath) {
        this.runPicPath = runPicPath;
    }

    public String getRunPicName() {
        return runPicName;
    }

    public void setRunPicName(String runPicName) {
        this.runPicName = runPicName;
    }

    public int getBlackCount() {
        return blackCount;
    }

    public void setBlackCount(int blackCount) {
        this.blackCount = blackCount;
    }

    public String getInfoNameReal() {
        return infoNameReal;
    }

    public void setInfoNameReal(String infoNameReal) {
        this.infoNameReal = infoNameReal;
    }

    public String getInfoName() {
        return infoName;
    }

    public void setInfoName(String infoName) {
        this.infoName = infoName;
    }

    public String getInfoIdCheckFlag() {
        return infoIdCheckFlag;
    }

    public void setInfoIdCheckFlag(String infoIdCheckFlag) {
        this.infoIdCheckFlag = infoIdCheckFlag;
    }

    public String getInfoCheckFlag() {
        return infoCheckFlag;
    }

    public void setInfoCheckFlag(String infoCheckFlag) {
        this.infoCheckFlag = infoCheckFlag;
    }

    public String getInfoHighPraiseRate() {
        return infoHighPraiseRate;
    }

    public void setInfoHighPraiseRate(String infoHighPraiseRate) {
        this.infoHighPraiseRate = infoHighPraiseRate;
    }

    public String getInfoLicensePicPath() {
        return infoLicensePicPath;
    }

    public void setInfoLicensePicPath(String infoLicensePicPath) {
        this.infoLicensePicPath = infoLicensePicPath;
    }

    public String getInfoLicensePicName() {
        return infoLicensePicName;
    }

    public void setInfoLicensePicName(String infoLicensePicName) {
        this.infoLicensePicName = infoLicensePicName;
    }

    public String getShopPicPath() {
        return shopPicPath;
    }

    public void setShopPicPath(String shopPicPath) {
        this.shopPicPath = shopPicPath;
    }

    public String getShopPicName() {
        return shopPicName;
    }

    public void setShopPicName(String shopPicName) {
        this.shopPicName = shopPicName;
    }

    public String getReleaseDate() {
        return releaseDate;
    }

    public void setReleaseDate(String releaseDate) {
        this.releaseDate = releaseDate;
    }

    public String getNeedCarTime() {
        return needCarTime;
    }

    public void setNeedCarTime(String needCarTime) {
        this.needCarTime = needCarTime;
    }

    public String getStartAreaAddress() {
        return startAreaAddress;
    }

    public void setStartAreaAddress(String startAreaAddress) {
        this.startAreaAddress = startAreaAddress;
    }

    public String getEndAreaAddress() {
        return endAreaAddress;
    }

    public void setEndAreaAddress(String endAreaAddress) {
        this.endAreaAddress = endAreaAddress;
    }

    public int getCarrierAccountId() {
        return carrierAccountId;
    }

    public void setCarrierAccountId(int carrierAccountId) {
        this.carrierAccountId = carrierAccountId;
    }

    public String getInfoPhone() {
        return infoPhone;
    }

    public void setInfoPhone(String infoPhone) {
        this.infoPhone = infoPhone;
    }

    /**
     * 承运人账号类型,1006 司机("1"), 信息部("3")
     * 
     * @return
     */
    public String getCarrierAccountType() {
        return carrierAccountType;
    }

    /**
     * 承运人账号类型,1006 司机("1"), 信息部("3")
     * 
     * @param carrierAccountType
     */
    public void setCarrierAccountType(String carrierAccountType) {
        this.carrierAccountType = carrierAccountType;
    }

    public String getReleaseName() {
        return releaseName;
    }

    public void setReleaseName(String releaseName) {
        this.releaseName = releaseName;
    }

    public String getIdentityType() {
        return identityType;
    }

    public void setIdentityType(String identityType) {
        this.identityType = identityType;
    }

    public String getInfoHeadPicPath() {
        return infoHeadPicPath;
    }

    public void setInfoHeadPicPath(String infoHeadPicPath) {
        this.infoHeadPicPath = infoHeadPicPath;
    }

    public String getInfoHeadPicName() {
        return infoHeadPicName;
    }

    public void setInfoHeadPicName(String infoHeadPicName) {
        this.infoHeadPicName = infoHeadPicName;
    }

    public void setCarTypeName(String carTypeName) {
        this.carTypeName = carTypeName;
    }

    public void setNeedCarLength(String needCarLength) {
        this.needCarLength = needCarLength;
    }

    public void setGoodsSpecies(String goodsSpecies) {
        this.goodsSpecies = goodsSpecies;
    }

    public void setGoodsSpeciesName(String goodsSpeciesName) {
        this.goodsSpeciesName = goodsSpeciesName;
    }

    public void setGoodsType(String goodsType) {
        this.goodsType = goodsType;
    }

    public void setGoodsLoad(double goodsLoad) {
        this.goodsLoad = goodsLoad;
    }

    public void setGoodsSize(double goodsSize) {
        this.goodsSize = goodsSize;
    }

    /**
     * 蔬菜 5吨
     * 
     * @return
     */
    public String getGoodsTypeLabel() {
        /*
         * String goodsTypeLabel = this.goodsSpeciesName == null ? "" :
         * this.goodsSpeciesName; String goodsLoadStr = ""; String goodsSizeStr
         * = ""; if (this.getGoodsLoad() == (int) this.getGoodsLoad()) {
         * goodsLoadStr = String.valueOf((int) this.getGoodsLoad()); } else {
         * goodsLoadStr = String.valueOf(this.getGoodsLoad()); } if
         * (this.getGoodsSize() == (int) this.getGoodsSize()) { goodsSizeStr =
         * String.valueOf((int) this.getGoodsSize()); } else { goodsSizeStr =
         * String.valueOf(this.getGoodsSize()); }
         * 
         * if ("1".equals(this.goodsType)) { goodsTypeLabel += " " +
         * goodsLoadStr + "吨"; } else { goodsTypeLabel += " " + goodsSizeStr +
         * "立方"; }
         * 
         * return goodsTypeLabel;
         */

        String goodsSpeciesLabelStr = this.goodsSpeciesName == null ? "" : this.goodsSpeciesName;

        String goodsLoadStr = "";
        String goodsSizeStr = "";

        if (this.getGoodsLoad() == (int) this.getGoodsLoad()) {
            goodsLoadStr = String.valueOf((int) this.getGoodsLoad());
        } else {
            goodsLoadStr = String.valueOf(this.getGoodsLoad());
        }
        if (this.getGoodsSize() == (int) this.getGoodsSize()) {
            goodsSizeStr = String.valueOf((int) this.getGoodsSize());
        } else {
            goodsSizeStr = String.valueOf(this.getGoodsSize());
        }
        //
        if (this.goodsLoad != 0.0) {
            goodsSpeciesLabelStr = goodsSpeciesLabelStr + " " + goodsLoadStr + "吨";
        }
        if (this.goodsSize != 0.0) {
            goodsSpeciesLabelStr = goodsSpeciesLabelStr + " " + goodsSizeStr + "立方";
        }
        if (goodsPiece != null && this.goodsPiece != 0) {
            goodsSpeciesLabelStr = goodsSpeciesLabelStr + " " + goodsPiece + "件";
        }
        return goodsSpeciesLabelStr;
    }

    /**
     * 车长 没有带单位
     * 
     * @return
     */
    public String getNeedCarLength() {
        return needCarLength == null ? "0" : needCarLength;
    }

    /**
     * 车型,平板车
     * 
     * @return
     */
    public String getCarTypeName() {
        return carTypeName;
    }

    public String getIsCollect() {
        return isCollect;
    }

    public void setIsCollect(String isCollect) {
        this.isCollect = isCollect;
    }

    public String getGoodsSpecies() {
        return goodsSpecies;
    }

    public String getGoodsSpeciesName() {
        return goodsSpeciesName;
    }

    public String getGoodsType() {
        return goodsType;
    }

    public double getGoodsLoad() {
        return goodsLoad;
    }

    public double getGoodsSize() {
        return goodsSize;
    }

    public String getStartCity() {
        return startCity;
    }

    public void setStartCity(String startCity) {
        this.startCity = startCity;
    }

    public String getStartCounty() {
        return startCounty;
    }

    public void setStartCounty(String startCounty) {
        this.startCounty = startCounty;
    }

    public String getEndCity() {
        return endCity;
    }

    public void setEndCity(String endCity) {
        this.endCity = endCity;
    }

    public String getEndCounty() {
        return endCounty;
    }

    public void setEndCounty(String endCounty) {
        this.endCounty = endCounty;
    }

    public String getNeedCarType() {
        return needCarType;
    }

    public void setNeedCarType(String needCarType) {
        this.needCarType = needCarType;
    }

    public String getTransportPicPath() {
        return transportPicPath;
    }

    public void setTransportPicPath(String transportPicPath) {
        this.transportPicPath = transportPicPath;
    }

    public String getTransportPicName() {
        return transportPicName;
    }

    public void setTransportPicName(String transportPicName) {
        this.transportPicName = transportPicName;
    }

    /**
     * 收货人姓名
     * 
     * @return
     */
    public String getReceiptName() {
        return receiptName;
    }

    /**
     * 收货人姓名
     * 
     * @param receiptName
     */
    public void setReceiptName(String receiptName) {
        this.receiptName = receiptName;
    }

    /**
     * 收货人电话
     * 
     * @return
     */
    public String getReceiptPhone() {
        return receiptPhone;
    }

    /**
     * 收货人电话
     * 
     * @param receiptPhone
     */
    public void setReceiptPhone(String receiptPhone) {
        this.receiptPhone = receiptPhone;
    }

    public String getStateName() {
        return stateName;
    }

    public void setStateName(String stateName) {
        this.stateName = stateName;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Integer getGoodsPiece() {
        return goodsPiece;
    }

    public void setGoodsPiece(Integer goodsPiece) {
        this.goodsPiece = goodsPiece;
    }

}
